<?php

/**
 * zUploader actions.
 *
 * @package    sf_sandbox
 * @subpackage zUploader
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
 */
class zUploaderActions extends sfActions
{
    /**
     * Executes index action
     *
     */
    public function executeIndex()
    {
    }

    public function executeDoUpload()
    {
        include_once('upload.class.php');
        $upload_handler = new UploadHandler();
        $upload_handler->post();
        return sfView::HEADER_ONLY;
    }
}
